num1 = 2
while num1 != '2':
    num1 = input("please add your number in 1 to 10:") 
    print("Try again")    
print("You are right,it is 2")    